package com.todo.strategy.online.application.frontend.service;

import com.todo.common.common.entity.response.BizResponse;
import com.todo.strategy.online.iface.request.*;
import com.todo.strategy.online.iface.response.MemoUserRelationDetailVO;

/**
 * @author azhebuxing
 * @date 2024/11/29 19:10
 * @description
 */
public interface MemoUserRelationAggService {

    /**
     * 拷贝构建备忘录关联
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> buildMemoUserRelationByTemplate(BuildMemoUserRelationByTemplateParam param);

    /**
     * 根据主键更新备忘录关联
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> updateMemoUserRelationById(UpdateMemoUserRelationByIdParam param);

    /**
     * 根据主键删除备忘录关联
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> removeMemoUserRelationById(RemoveMemoUserRelationByIdParam param);

    /**
     * 根据计划Id查询备忘录关联
     *
     * @param param
     * @return
     */
    BizResponse<MemoUserRelationDetailVO> queryMemoUserRelationListByPlanId(QueryMemoUserRelationListByPlanIdParam param);

    /**
     * 根据主键查询备忘录关联
     *
     * @param param
     * @return
     */
    BizResponse<MemoUserRelationDetailVO> queryMemoUserRelationById(QueryMemoUserRelationByIdParam param);
}
